package com.api.sw.duban.model;

import com.api.sw.duban.annotation.Field;
import com.api.sw.duban.annotation.Table;

import java.text.SimpleDateFormat;
import java.util.Date;
@Table(value="uf_bqk",datasource = "local")
public class Uf_bqk {
    @Field(dbFiledName="")
    private String mc="";//名称
    @Field(dbFiledName="")
    private String wzys="";//文字颜色
    @Field(dbFiledName="")
    private String bjys="";//背景颜色
    @Field(dbFiledName="")
    private String bqys="";//标签颜色
    @Field(dbFiledName="")
    private String mkid="";//模块ID


    /* 建模自带属性*/
    @Field(dbFiledName="")
    private String modedatacreater="1";//创建人
    @Field(dbFiledName="")
    private String modedatacreatedate="";//创建日期
    @Field(dbFiledName="")
    private String formmodeid="152";//模型ID 默认值 本地58
    @Field(dbFiledName="")
    private String modedatacreatertype="0";//创建类型
    @Field(dbFiledName="")
    private String modedatacreatetime="";//创建时间
    @Field(dbFiledName="")
    private String modeuuid="";//UUID
    public Uf_bqk(){
        SimpleDateFormat sim=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        this.modedatacreatedate=sim.format(new Date()).split(" ")[0];
        this.modedatacreatetime=sim.format(new Date()).split(" ")[1];
    }
    public String getMc() {
        return mc;
    }

    public void setMc(String mc) {
        this.mc = mc;
    }

    public String getWzys() {
        return wzys;
    }

    public void setWzys(String wzys) {
        this.wzys = wzys;
    }

    public String getBjys() {
        return bjys;
    }

    public void setBjys(String bjys) {
        this.bjys = bjys;
    }

    public String getBqys() {
        return bqys;
    }

    public void setBqys(String bqys) {
        this.bqys = bqys;
    }

    public String getMkid() {
        return mkid;
    }

    public void setMkid(String mkid) {
        this.mkid = mkid;
    }

    public String getModedatacreater() {
        return modedatacreater;
    }

    public void setModedatacreater(String modedatacreater) {
        this.modedatacreater = modedatacreater;
    }

    public String getModedatacreatedate() {
        return modedatacreatedate;
    }

    public void setModedatacreatedate(String modedatacreatedate) {
        this.modedatacreatedate = modedatacreatedate;
    }

    public String getFormmodeid() {
        return formmodeid;
    }

    public void setFormmodeid(String formmodeid) {
        this.formmodeid = formmodeid;
    }

    public String getModedatacreatertype() {
        return modedatacreatertype;
    }

    public void setModedatacreatertype(String modedatacreatertype) {
        this.modedatacreatertype = modedatacreatertype;
    }

    public String getModedatacreatetime() {
        return modedatacreatetime;
    }

    public void setModedatacreatetime(String modedatacreatetime) {
        this.modedatacreatetime = modedatacreatetime;
    }

    public String getModeuuid() {
        return modeuuid;
    }

    public void setModeuuid(String modeuuid) {
        this.modeuuid = modeuuid;
    }

    @Override
    public String toString() {
        return "Uf_bqk{" +
                "mc='" + mc + '\'' +
                ", wzys='" + wzys + '\'' +
                ", bjys='" + bjys + '\'' +
                ", bqys='" + bqys + '\'' +
                ", mkid='" + mkid + '\'' +
                ", modedatacreater='" + modedatacreater + '\'' +
                ", modedatacreatedate='" + modedatacreatedate + '\'' +
                ", formmodeid='" + formmodeid + '\'' +
                ", modedatacreatertype='" + modedatacreatertype + '\'' +
                ", modedatacreatetime='" + modedatacreatetime + '\'' +
                ", modeuuid='" + modeuuid + '\'' +
                '}';
    }
}
